def isodd(x):
    if int == type(x):
        if x % 2 == 0:
            print(True)
        else:
            print(False)
    else:
        print("你输入的不是整数，已退出")


isodd(545)
